package com.shhic.hhplt.server.model;

/**
 * 测试报告自动导出的配置项
 * 对应于testReportAutoExportConfig.properties文件
 * @author user
 *
 */
public class TestReportAutoExportConfig {
	private boolean startAutoExport;	//是否自动导出
	private String savePath;	//导出文件保存位置
	private int intervalInHour;	//导出间隔
	private long lastExportTimestamp;	//上次导出的时间戳
	private boolean isExporting;	//是否正在导出
	private boolean isUploading;	//是否正在上传ftp
	
	private boolean uploadToFtp;	//是否自动上传到FTP
	private String uploadFtpUrl;	//ftp 地址
	private String uploadFtpUser;	//ftp用户名
	private String uploadFtpPassword;	//ftp密码
	
	
	public boolean isStartAutoExport() {
		return startAutoExport;
	}
	public void setStartAutoExport(boolean startAutoExport) {
		this.startAutoExport = startAutoExport;
	}
	public String getSavePath() {
		return savePath;
	}
	public void setSavePath(String savePath) {
		this.savePath = savePath;
	}
	public int getIntervalInHour() {
		return intervalInHour;
	}
	public void setIntervalInHour(int intervalInHour) {
		this.intervalInHour = intervalInHour;
	}
	public long getLastExportTimestamp() {
		return lastExportTimestamp;
	}
	public void setLastExportTimestamp(long lastExportTimestamp) {
		this.lastExportTimestamp = lastExportTimestamp;
	}
	public boolean isExporting() {
		return isExporting;
	}
	public void setExporting(boolean isExporting) {
		this.isExporting = isExporting;
	}
	public boolean isUploadToFtp() {
		return uploadToFtp;
	}
	public void setUploadToFtp(boolean uploadToFtp) {
		this.uploadToFtp = uploadToFtp;
	}
	public String getUploadFtpUrl() {
		return uploadFtpUrl;
	}
	public void setUploadFtpUrl(String uploadFtpUrl) {
		this.uploadFtpUrl = uploadFtpUrl;
	}
	public String getUploadFtpUser() {
		return uploadFtpUser;
	}
	public void setUploadFtpUser(String uploadFtpUser) {
		this.uploadFtpUser = uploadFtpUser;
	}
	public String getUploadFtpPassword() {
		return uploadFtpPassword;
	}
	public void setUploadFtpPassword(String uploadFtpPassword) {
		this.uploadFtpPassword = uploadFtpPassword;
	}
	public boolean isUploading() {
		return isUploading;
	}
	public void setUploading(boolean isUploading) {
		this.isUploading = isUploading;
	}
}
	
